/*
 * @Date         : 2022-06-07 19:59:42
 * @LastEditors  : zu1662
 * @LastEditTime : 2024-05-24 10:28:50
 * @Description  : 模块路由入口
 *
 * Copyright © 2022 by zu1662, All Rights Reserved.
 */
import { Module } from '@nestjs/common';
import { RouterModule } from '@nestjs/core';
import { ArticleModule } from './article/article.module';
import { FileModule } from './file/file.module';
import { SMTPModule } from './smtp/smtp.module';
import { TestingModule } from './testing/testing.module';
import { UserModule } from './user/user.module';

@Module({
  exports: [],
  providers: [],
  controllers: [],
  imports: [
    FileModule,
    UserModule,
    ArticleModule,
    SMTPModule,
    TestingModule,
    RouterModule.register([
      {
        path: '/test',
        module: TestingModule,
      },
    ]),
  ],
})
export class AppRouterModule {}
